package com.g7.dsp.forprotocol.beans;

import java.awt.Canvas;

import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;

import com.g7.dsp.forprotocol.ui.integrated.DisplayThread;

//集成SWT JavaBean 在ProtocolContext里面会用到此bean来清理并重置JPanel
public class SWTBean {
	//内包含display
	private DisplayThread displayThread;
	private Canvas canvas;
	private Shell shell;
	private Display display;
	public DisplayThread getDisplayThread() {
		return displayThread;
	}
	public void setDisplayThread(DisplayThread displayThread) {
		this.displayThread = displayThread;
	}
	public Canvas getCanvas() {
		return canvas;
	}
	public void setCanvas(Canvas canvas) {
		this.canvas = canvas;
	}
	public Shell getShell() {
		return shell;
	}
	public void setShell(Shell shell) {
		this.shell = shell;
	}
	public Display getDisplay() {
		return display;
	}
	public void setDisplay(Display display) {
		this.display = display;
	}

}
